package cn.jly.boot.mp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.oas.annotations.EnableOpenApi;

/**
 * @PackageName cn.jly.boot.mp
 * @Description 启动类
 * @Author lanyangji
 * @EnableScheduling 开启定时任务
 * @EnableOpenApi 开启swagger
 */
@EnableScheduling
@EnableOpenApi
@MapperScan(basePackages = "cn.jly.boot.mp.mapper")
@SpringBootApplication
public class MpSwagger3BootStarterApplication {

    public static void main(String[] args) {
        SpringApplication.run(MpSwagger3BootStarterApplication.class, args);
    }
}
